function getWeatherData() {
    return $axios({
        'url': '/weather/getAll',
        'method': 'get',
    })
}

const getHighest = () => {
    return $axios({
        url: `/weather/getHighest`,
        method: 'get',
    })
}

const getLowest = () => {
    return $axios({
        url: `/weather/getLowest`,
        method: 'get',
    })
}

const getAvg = () => {
    return $axios({
        url: `/weather/getAvg`,
        method: 'get',
    })
}

const getRainy = () => {
    return $axios({
        url: `/weather/getRainy`,
        method: 'get',
    })
}

const getOneDay = (date) => {
    return $axios({
        url: `/weather/getOneDay?date=${date}`,
        method: 'get',
    })
}

const predictOneDay = (date) => {
    return $axios({
        url: `/weather/predictOneDay?date=${date}`,
        method: 'get',
    })
}

const getMonth = (date) => {
    return $axios({
        url: `/weather/getMonth?date=${date}`,
        method: 'get',
    })
}

const predictSevenDay = (date) => {
    return $axios({
        url: `/weather/predictSevenDay?date=${date}`,
        method: 'get',
    })
}